-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autotools update #101
Autotools update #101
Conversation
Thanks so much for this update! I have to admit that the autotools stuff is a mystery to me and I'm always hesitant to make changes for fear of breaking stuff, so it's nice to have someone in there who knows what they're doing. I noticed that this broke the Travis CI because the old Thanks again! |
@dbry thanks, here's an idea: why don't we change the default test to run your internal check? i.e. run |
@SoapGentoo Yeah, that might be a good idea too. The tests for the |
@dbry hold off on merging till I've pushed this fix... |
And just to be clear, you're going to change the |
correct, this is just playing with Automake |
* `==` is not compatible with stricter POSIX shells such as the dash shell. Bug: https://bugs.gentoo.org/773955
* These work with `bmake`/`pmake`
* Globs don't work in Automake
* To run the full test suite: make check TESTS=all-tests
wvtest_SOURCES = wvtest.c md5.c | ||
wvtest_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/include | ||
if ENABLE_RPATH | ||
wvtest_LDFLAGS = -rpath $(libdir) | ||
endif | ||
wvtest_LDADD = $(AM_LDADD) $(top_builddir)/src/libwavpack.la $(LIBM) -lpthread | ||
endif | ||
|
||
TESTS = fast-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dbry by default make check
(which is a target that make distcheck
runs, among other checks) runs fast-tests
, which is equivalent to running ./wvtest --exhaustive --short --no-extras
. If you want to run the full tests:
make check TESTS=all-tests
@dbry finished now. Travis should run |
Thanks! |
AC_CONFIG_LINKS([ | ||
cli/all-tests:cli/all-tests | ||
cli/fast-tests:cli/fast-tests | ||
]) | ||
AC_CONFIG_FILES( | ||
Makefile |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dbry I'd like to remove the recursive Make build system and move to a non-recursive one. Would you accept a PR to this end?
I am happy with anything you suggest and are willing to implement. As long as it continues to work in the places I use it, and is more up to date, I'm happy. While I've got your attention, I do have a couple questions. When I run
Is this anything I should be concerned about or act on? Also, there was a discussion in issue #93 that ended up being my having outdated Thanks again! |
|
Thanks, sounds good. Given the third item, it might make sense to spin up a Gentoo VM when I create a tarball. Fortunately I do only about one new release a year, so it would not be onerous. Or I could just get you to do it... 😃 |
sure, just ping me and I can cut a release too |
@SoapGentoo It's been over a year, but I'm finally ready for a new release! I am able to build a tarball distro and it works fine, but the So I'm going to take you up on your offer of cutting a release for me as everything is ready to go for 5.5.0. It probably wouldn't hurt to look it over to make sure I didn't do anything stupid. Specifically, I did make a couple simple fixes to @evpobr Any other comments before I pull the trigger here are also appreciated! Thanks in advance! |
Hi. I'm a little late, but I don't see any obvious problems. |
@dbry when bootstrapping the tarball, I found a minor (no risk) issues with the Autoconf. I'll send in a quick PR and then I produce the tarball afterwards? |
@SoapGentoo Thanks, I have merged your PR. I also made another fix for a bug just reported. It's funny, because right before releases suddenly people find bugs (from fuzzing, obviously). But I guess that's better than right after the release! In any event, I think I'm ready for the tarball, but I reserve the right to ask for another if another bug comes in before I regenerate all the Windows binaries... :) |
https://dev.gentoo.org/~soap/distfiles/wavpack-5.5.0.tar.xz I had to upload it to my Gentoo webspace, since Github won't allow me to attach tarballs. Here's a few timestamps:
I hope that's fresh enough for you 😉 Let me know if you need a fresh bootstrap. |
Thanks so much for this! Just to be sure the MD5 is And yes, those were the latest dates I found for config.[guess|sub] too. I'll be curious to see if any other files are different from what I would have generated here. After a little thought I realized that if a source file did change, I could just swap that out, right? I assume there's no other integrity mechanism preventing that. Of course, I'm only talking about a couple days at the most. Cheers! |
The MD5 is correct. In theory you could replace files, but there might be coupled macros between |
Well, I found an obscure issue with big-endian machines (testing on QEMU/Debian) and decided to fix it before the release. Only 3 files changed: Thanks! |
Uploaded a fresh tarball for you: |
I verified that all files matched mine, but the dates are better. Will release this evening. Thanks again for all your help! |
@dbry just added 5.5.0 to the tree, and spotted this:
wouldn't it make more sense to use EDIT: I'm seeing this because we're compiling for 32-bit, and |
@SoapGentoo Yeah, this has been bugging me a little, generating warnings on some setups. I settled on what I have now because, despite warnings, it will (1) always display the correct value and (2) will work even on old (pre C99) compilers. I got burned recently when someone helpfully replaced some But more generally, it's actually silly to print the value at all because that thread doesn't set any error result. I think I'll just eliminate printing the value altogether. Thanks for reminding me. |
@SoapGentoo So sorry to bother you again, but I'm preparing for a new release and was hoping you could make me a new tarball with the latest config files. Thanks in advance! 😄 |
sure, as always, let me know when you need it exactly. Is the code ready now? |
@SoapGentoo, just pushed the last ChangeLog update, so any time. Thanks! |
https://dev.gentoo.org/~soap/distfiles/wavpack-5.6.0.tar.xz |
Thanks, SHA verified! 😸 |
Hi @dbry
Here are a few updates to make the Autotools build system POSIX compatible so it can be used with shell like Dash and Make implementations such as
bmake
andpmake
. Furthermore, I've implemented the test to use the normal automake test harness, which means it can be invoked withmake check
instead of invoking the binary directly. This massively simplifies the packaging for us downstream in the distributions.